#pragma once
#include <iostream>

#include "polymorphism.h"

void print(MyPolymorphism::A& a)
{
	a.print();
}

int main()
{
	MyPolymorphism::A a1;
	MyPolymorphism::B b1;
	MyPolymorphism::C c1;

//	MyPolymorphism::O o1;

	print(a1);
	print(b1);
	print(c1);


	return 0;
}